how to find and classify the discontinuity of the function